package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("mall_customer_account_history")
@KeySequence(value = "mall_customer_account_history_SEQ")
@ApiModel(value = "MallCustomerAccountHistory对象")
public class MallCustomerAccountHistory implements Serializable{

       private String appKey;

       @TableId(value = "account_history_key", type = IdType.UUID)
       @ApiModelProperty(value = "历史流水号")
       private String accountHistoryKey;

       @ApiModelProperty(value = "用户KEY")
       private String customerKey;

       @ApiModelProperty(value = "金额")
       private BigDecimal amount;

       @ApiModelProperty(value = "状态: PENDING：已申请，APPROVE：已确认, REJECT：已拒绝")
       private String status;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
